package tman.system.peer.tman;
import cyclon.system.peer.cyclon.*;

import java.util.UUID;

import common.peer.PeerMessage;
import common.peer.PeerAddress;
import java.util.ArrayList;

public class TManViewResponse extends PeerMessage {
	private static final long serialVersionUID = 8493601671018888143L;
	private final UUID requestId;
        private ArrayList<PeerAddress> view;
	

//-------------------------------------------------------------------
	public TManViewResponse(UUID requestId, PeerAddress source, PeerAddress destination, ArrayList<PeerAddress> view) {
		super(source, destination);
		this.requestId = requestId;
                this.view=view;
		
	}

//-------------------------------------------------------------------
	public UUID getRequestId() {
		return requestId;
	}

	
	
//-------------------------------------------------------------------
	public int getSize() {
		return 0;
	}
        
        
        public ArrayList<PeerAddress> getView() {
		return this.view;
	}
}
